﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace mm
{
    class Emp
    {
        private int Num;
        private string Name;
        private string Section;

        public int num { get; set; }
        public string name { get; set; }
        public string section { get; set; }

        public void EmpInfo()
        {
            Console.WriteLine("工号是{0}，我叫{1}，部门是{2}", this.Num, this.Name, this.Section);
        }
        public Emp()
        {

        }
        public Emp(int Num, string Name, string Section)
        {
            this.Num = Num;
            this.Name = Name;
            this.Section = Section;
        }
    }
}
